from tkinter import *

root = Tk()
root.title('hello')
root.geometry('250x250+250+250')
root.maxsize(width='250',height='250')

f1 = LabelFrame(text='t1',width=100,height=200,bg='green',padx=10,pady=5,borderwidth=10)
f1.pack_propagate(0)
f1.pack(side='left')

b1 = Button(f1,text='t1')
b1.pack()

f2 = LabelFrame(text='t2',width=100,height=200,bg='green',padx=100,pady=50)
f2.pack_propagate(0)
f2.pack(side='right')


root.mainloop()